#define _CRT_SECURE_NO_WARNINGS 1
#include"test.h"
void Stack::StackPush(int x)
{
	StackExpansion();
	_p[_top++] = x;
}
void Stack::StackPop()
{
	assert(_top >= 0);
	_top--;
}
bool Stack::StackEmpty()
{
	return _top;
}